package com.wyd.System.Bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 文永达
 * @since 2020-12-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tb_students")
@ApiModel(value="Students对象", description="")
public class Students implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("stu_id")
    private String stuId;

    @TableField("stu_name")
    private String stuName;

    @TableField("stu_gender")
    private Integer stuGender;

    @TableField("stu_grade")
    private Integer stuGrade;

    @TableField("stu_institute")
    private Integer stuInstitute;

    @TableField("stu_specialty")
    private Integer stuSpecialty;

    @TableField("stu_clazz")
    private Integer stuClazz;

    @TableField("stu_phone")
    private String stuPhone;

    @TableField("stu_qq")
    private String stuQq;

    @ApiModelProperty(value = "所在年级")
    @TableField(exist = false)
    private String gradeName;

    @ApiModelProperty(value = "所属分院")
    @TableField(exist = false)
    private String instituteName;

    @ApiModelProperty(value = "所在专业")
    @TableField(exist = false)
    private String specialtyName;

    @ApiModelProperty(value = "学生所在班级")
    @TableField(exist = false)
    private String clazz;

}
